package com.pxx.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pxx.item.pojo.Category;
import org.springframework.http.ResponseEntity;

import java.util.List;

public interface CategoryService extends IService<Category> {
    List<Category> queryCategoryListByParentId(Long pid);

    ResponseEntity<Void> add(Category category);

    ResponseEntity<Void> edit(Category category);

    ResponseEntity<Void> delete(Long id);
}
